<!-- 
 Copyright 2008 Carnegie-Mellon University
 Licensed under the Apache License, Version 2.0 (the "License"); 
 you may not use this file except in compliance with the License.
 You may obtain a copy of the License at
  
   http://www.apache.org/licenses/LICENSE-2.0

 Unless required by applicable law or agreed to in writing, 
 software distributed under the License is distributed on an
 "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
 KIND, either express or implied. See the License for the
 specific language governing permissions and limitations
 under the License.
-->

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta http-equiv="Pragma" content="no-cache">
<meta http-equiv="Cache-Control" content="no-cache">
<script type="text/javascript" src="../js/external/jquery.js"></script>
<script type="text/javascript"><!-- jQuery.noConflict(); //--></script>
<script type="text/javascript" src="../js/external/prototype.js"></script>
<script type="text/javascript" src="../js/resources.js.jsp"></script>
<script type="text/javascript" src="../js/shared.js"></script>
<script type="text/javascript" src="../js/nugget_extraction.js"></script>
<link rel="stylesheet" type="text/css" href="../css/common.css" />
<link rel="stylesheet" type="text/css" href="../css/nugget_extraction.css" />

<title id="title"></title>

</head>
<body onLoad="initNE()">

<!-- NAVIGATION -->
<div id="header"></div>

<h2 id="msg_ne" align="center"></h2>

<table width="900" border="0" align="center" cellpadding="5" cellspacing="0">
  <tr>
    <td colspan="2"><span id="msg_ne_direction"></span></td>
  </tr>
  <tr>
    <td width="50%"><h4 id="msg_select_t"></h4></td>
    <td>&nbsp;</td>
  </tr>
  <tr>
    <td colspan="2"><div id="topicDesc">
	<table border="0" cellpadding="5" cellspacing="0" width="100%">
	        <tbody>
	          <tr>
	            <td><table border="0" cellpadding="2" cellspacing="0" width="100%">
	                  <tr>
	                    <td>
      <select id="topicList" style="width:320px" onChange="loadTopicNE(this.value)" class="inputbox"></select>
    </td>
  </tr>
</table>

<div id="additional1" style="display:none">
<table border="0" cellpadding="2" cellspacing="0" width="100%">
   <tr bgcolor="#ffefef">
          <td valign="top">
            <strong id="prop_selected_t"></strong>
		    <input type="hidden" id="topicId"><br>
              <table border="0" cellspacing="0" cellpadding="2">
                <tr>
                  <td valign="top"><div id="msg_narrative_trg" style="valign:top"></div></td>
                  <td><div id="narrativeTrg"></div></td>
                </tr>
                <tr>
                  <td valign="top"><div id="msg_narrative_src" style="valign:top"></div></td>
                  <td><div id="narrativeSrc"></div></td>
                </tr>
                <tr>
                  <td valign="top" nowrap="nowrap"><div id="msg_answer_type" style="valign:top"></div></td>
                  <td><div id="type"></div></td>
                </tr>
                <tr>
                  <td valign="top"><div id="msg_question_trg" style="valign:top"></div></td>
                  <td><div id="questionTrg"></div></td>
                </tr>
                <tr>
                  <td valign="top" nowrap="nowrap"><div id="msg_question_src" style="valign:top"></div></td>
                  <td><div id="questionSrc"></div></td>
                </tr>
				<tr>
                  <td valign="top"><div id="msg_note" style="valign:top"></div></td>
                  <td><div id="note"></div></td>
                </tr>
              </table>
              </td>
             </tr>
            </table>
			</div>
			</td>
          </tr>
        </tbody>
      </table>
    </div></td>
  </tr>
</table>

<div id="additional2" style="display:none">
<table align="center" border="0" cellpadding="5" cellspacing="0" width="900">
  <tr>
    <td width="50%"><span id="_msg_answer_text"></span></td>
    <td width="50%"><span id="_msg_answer_nugget"></span></td>
  </tr>
  <tr>
    <td valign="top"><div id="answerText"></div></td>
    <td valign="top">
      <div id="answerNuggetForm" style="margin-bottom:15px"></div>
      <div id="answerNuggetForm2"></div>
    </td>
  </tr>
  
  <!-- done box -->
  <tr>
   <td colspan="2">
    <br>
    <div style="padding:5px;background-color: #ffff66;border:1px solid #ff6633;font-size:small;">
    <input type="checkbox" value="1" id="done" onclick="updateDone('ne')">&nbsp;
    <label for="done"><span id="msg_donetask"></span></label>
    </div>
  </td>
 </tr>
</table>
</div>
<br>

<!-- FOOTER -->
<div id="footer"></div>

</body>
</html>
